Carbon


FillCRoundRect

Header: Quickdraw.h Carbon status: Supported

Fills a rounded rectangle with the given pixel pattern, using the patCopy pattern mode.

void FillCRoundRect (
    const Rect *r, 
    SInt16 ovalWidth, 
    SInt16 ovalHeight, 
    PixPatHandle pp
);
Parameter descriptions
r

The rectangle that defines the rounded rectangle’s boundaries.

ovalWidth

The width of the oval defining the rounded corner.

ovalHeight

The height of the oval defining the rounded corner.

pp

A handle to the PixPat structure for the pixel pattern to be used for the fill.

DISCUSSION

Use the ovalWidth and ovalHeight parameters to specify the diameters of curvature for the corners. This function ignores the pnPat, pnMode, and bkPat fields of the current graphics port and leaves the pen location unchanged.

SPECIAL CONSIDERATIONS

The FillCRoundRect function may move or purge memory blocks in the application heap; do not call this function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)